package com.nnxy.service;

import com.nnxy.pojo.PageResult;
import com.nnxy.pojo.Student;

import java.util.List;

public interface StudentService {
    PageResult<Student> findByPage(Integer page, Integer pageSize, String name,
                                   Integer degree, Integer id);

    void add(Student student);

    void deleteById(List<Integer> ids);

    Student findById(Integer id);

    void update(Student student);
}
